﻿using System;
using System.Linq.Expressions;

namespace Remoting.Reactive.ProtoBuf
{
    public class BinaryExpressionSerializer : IBinaryExpressionSerializer
    {
        private readonly IExpressionTranslator _expressionTranslator;
        private readonly IExpressionDtoTranslator _expressionDtoTranslator;

        public BinaryExpressionSerializer(IExpressionTranslator expressionTranslator,
            IExpressionDtoTranslator expressionDtoTranslator)
        {
            Guard.Requires<ArgumentNullException>(expressionTranslator != null);
            Guard.Requires<ArgumentNullException>(expressionDtoTranslator != null);
            _expressionTranslator = expressionTranslator;
            _expressionDtoTranslator = expressionDtoTranslator;
        }

        public byte[] Serialize(Expression expression)
        {
            throw new NotImplementedException();
        }

        public Expression Deserializer(byte[] data)
        {
            throw new NotImplementedException();
        }
    }
}
